@import '../../../lessConst.less';

.pageCatchPlaythingPa {
  height: 100vh;
  .navHeader {
    position: sticky;
    .navbar {
      position: relative;
      .navBarContent {
        position: absolute;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;

        .navTitle {
          color: #333;
          font-size: 36px;
          font-weight: 500;
        }

        .at-icon-chevron-left {
          color: #000;
          position: absolute;
          left: 32px;
          font-size: 40px;
        }
      }
    }
  }
  .catchPlaythingScrollview {
    width: 100vw;
    height: 91.5vh;
    background: linear-gradient(180deg, #456cf8 0%, #6887fa 9%, #dbc8ff 32%, #ddcbff 45%, #c4affb 74%, #c1aafb 100%);
    .scrollViewC {
      height: 100%;
      display: flex;
      align-items: center;

      .starBj {
        background: url('@{iplandUrl}catchPlaything/starBj.png') no-repeat;
        background-size: cover;
        height: 200px;
        width: 100%;
        position: absolute;
        top: 68px;
        padding: 0 32px;
      }

      .gameExtraMessage {
        text-align: center;
        color: #fff;
        font-size: 28px;
        padding-bottom: env(safe-area-inset-bottom);
        margin-top: -80px;
      }

      .progress {
        width: 90%;
        height: 28px;
        background-color: #a9adff;
        border-radius: 48px;
        top: 30px;
        position: relative;
        margin-bottom: 20px;

        .progress-bar {
          height: 28px;
          background-color: #8153ff;
          position: relative;
          border-radius: 48px;
        }

        .progress-title {
          color: #fff;
          font-size: 18px;
          position: absolute;
          right: 6px;
        }
      }

      .extraMessage {
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: flex-end;

        .strategy {
          position: relative;
          top: 30px;
          width: 140px;
          height: 54px;
          background-color: rgb(121, 91, 246);
          border-radius: 40px 0 0 40px;
          display: flex;
          align-items: center;
          justify-content: center;

          .strategyLabel {
            color: #fff;
            font-size: 24px;
          }
        }

        .message {
          width: 404px;
          height: 80px;
          border-radius: 40px;
          text-align: center;
          margin-top: 30px;
          background-color: rgba(0, 0, 0, 0.3);
          padding: 20px 10px;
          margin-right: 50px;

          .title {
            color: #fff;
            font-size: 24px;
          }
        }
      }

      .dollDiver {
        // background: url('@{iplandUrl}catchPlaything/catchingDiver.jpg') no-repeat;
        // background-size: 100% 100%;
        width: 506px;
        height: 36px;
        margin-left: 80px;
      }

      .dollMachine {
        flex: 1;
        margin-top: 60px;
        position: relative;

        .outIcon {
          width: 186px;
          height: 172px;
          position: absolute;
          top: 880px;
          right: 40px;
          z-index: 4;
        }

        .header {
          width: 678px;
          height: 280px;
          // background: url('@{iplandUrl}catchPlaything/headerBj.png') no-repeat;
          // background-size: 100% 100%;
          display: flex;
          justify-content: center;
          align-items: center;
          z-index: 5;
          margin-bottom: -28px;

          .titleImage {
            width: 448px;
            height: 120px;
          }
        }

        .middle {
          width: 596px;
          height: 400px;
          // background: url('@{iplandUrl}catchPlaything/contentBj.png') no-repeat;
          // background-size: 100% 100%;
          margin: 0 5vw;
          position: relative;

          .shareIcon {
            width: 48px;
            height: 48px;
            position: absolute;
            top: -350px;
            right: -40px;
            z-index: 9;
          }

          .wish {
            position: absolute;
            right: -120px;
            top: 175px;
            display: flex;
            align-items: center;
            justify-content: center;

            .wishIcon {
              width: 198px;
              height: 186px;
              border-radius: 50%;
            }

            .wishLabel {
              color: #fff;
              margin-top: -33px;
              font-size: 24px;
            }
          }

          .gift {
            position: absolute;
            top: 400px;
            display: flex;
            left: -50px;
            align-items: center;
            justify-content: center;
            z-index: 3;

            .giftIcon {
              width: 88px;
              height: 88px;
              border-radius: 50%;
            }

            .giftLabel {
              margin-top: 16px;
              color: #fff;
              font-size: 24px;
            }
          }

          .prop {
            position: absolute;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 3;
            top: 200px;
            left: -50px;

            .propIcon {
              width: 148px;
              height: 108px;
            }

            .propLabel {
              margin-top: 22px;
              color: #fff;
              font-size: 24px;
              margin-left: -45px;
            }
          }

          .next {
            position: absolute;
            top: 395px;
            display: flex;
            right: -74px;
            align-items: center;
            justify-content: center;
            z-index: 3;

            .nextIcon {
              width: 88px;
              height: 88px;
              border-radius: 50%;
            }

            .nextLabel {
              margin-top: 6px;
              color: #fff;
              font-size: 24px;
            }
          }

          .content {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;

            .bj {
              width: 500px;
              height: 340px;
              // background: url('@{iplandUrl}catchPlaything/purpleBj.png') no-repeat;
              // background-size: 100% 100%;
              position: absolute;
              top: 30px;
              z-index: 1;

              .playthings {
                width: 104%;
                height: 413px;
                // background: url('@{iplandUrl}catchPlaything/playthings.png') no-repeat;
                //       background-size: 100% 100%;
                position: absolute;
                bottom: -48px;
                left: -10px;
                z-index: 4;
              }

              .catchIcon {
                position: absolute;
                top: -220px;
                width: 100px;
                height: 300px;
                background: url('@{iplandUrl}catchPlaything/catchPic.jpg') no-repeat;
                background-size: 100% 100%;
                z-index: 2;
              }

              .singlePlaything {
                width: 92px !important;
                height: 76px !important;
                background: url('@{iplandUrl}catchPlaything/plaything.png') no-repeat;
                background-size: 100% 100%;
                opacity: 0;
                top: 55px;
                left: 7px;
                position: relative;
                z-index: 3;
              }
            }
          }
        }

        .footer {
          width: 686px;
          height: 240px;
          // background: url('@{iplandUrl}catchPlaything/operateBj.jpg') no-repeat;
          // background-size: 100% 100%;
          z-index: 2;
          display: flex;
          position: relative;
          align-items: center;
          justify-content: space-around;
          flex-direction: row;
          padding: 0 50px;

          .singleCatching {
            width: 400px;
            height: 150px;
            background: url('@{iplandUrl}catchPlaything/catchingButton.png') no-repeat;
            background-size: 100% 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 0;
          }

          .singleOperate {
            width: 258px;
            height: 150px;
            background: url('@{iplandUrl}catchPlaything/blueButton.png') no-repeat;
            background-size: 100% 100%;
            display: flex;
            align-items: center;
            justify-content: center;
          }

          .moreOperate {
            background: url('@{iplandUrl}catchPlaything/redButton.png') no-repeat;
            width: 258px;
            height: 150px;
            background-size: 100% 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 0;
          }

          .moreCatching {
            width: 400px;
            height: 150px;
            background: url('@{iplandUrl}catchPlaything/catchingLargeRed.png') no-repeat;
            background-size: 100% 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 0;
          }

          .singleOperate::after,
          .moreOperate::after,
          .singleCatching::after,
          .moreCatching::after {
            border: 0;
          }

          .label {
            color: #fff;
            padding-bottom: 20px;
          }
        }

        .insert {
          width: 686px;
          height: 270px;
          // background: url('@{iplandUrl}catchPlaything/insertBj.jpg') no-repeat;
          // background-size: 100% 100%;
          z-index: 1;
          position: relative;
          top: -8vh;
          display: flex;
          flex-direction: row;
          justify-content: flex-start;
          align-items: center;

          .info {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            flex-direction: row;
            background: url('@{iplandUrl}catchPlaything/topUpBj.png') no-repeat;
            background-size: 100% 100%;
            min-width: 266px;
            height: 64px;
            margin-left: 10vw;
            margin-top: 105px;
            position: relative;

            .coin {
              width: 32px;
              height: 32px;
              margin: 0 8px;
            }

            .topUpIcon {
              width: 76px;
              height: 76px;
              position: absolute;
              right: -30px;
            }

            .label {
              color: #fff;
              font-size: 24px;
              flex: 1;
            }
          }
        }
      }
    }
  }
}
